<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Teacher
 *
 * @author user
 */
class Teacher {
    //put your code here
    
    private $idTeacher;
    private $teacherName;
    private $yearLevel;
    
    
    function __construct() {
        $this->yearLevel = array();
    }

    public function getIdTeacher() {
        return $this->idTeacher;
    }

    public function setIdTeacher($idTeacher) {
        $this->idTeacher = $idTeacher;
    }

    public function getTeacherName() {
        return $this->teacherName;
    }

    public function setTeacherName($teacherName) {
        $this->teacherName = $teacherName;
    }
    
    
    public function setLevels($levels){
        
        for($counter=0;$counter<sizeof($levels);$counter++){
            
            if($levels[$counter]==""){
                break;
            }
            
            $this->yearLevel[$counter]=$levels[$counter];
        }
    }
    
    
    public function getLevels(){
        return $this->yearLevel;
    }
    
    public function getIndividualLevels($counter){
        return $this->yearLevel[$counter];
    }



    
}

?>
